package com.jeecg.xmshipped.entity;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.*;

/**   
 * @Title: Entity
 * @Description: 发运或成交总量信息
 * @author onlineGenerator
 * @date 2023-03-24 09:47:45
 * @version V1.0   
 *
 */
@Entity
@Table(name = "XM_SHIPPED", schema = "")
@SuppressWarnings("serial")
public class XmShippedEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.String id;
	/**发运总量*/
	@Excel(name="发运总量",width=15)
	private java.math.BigDecimal shipped;
	/**成交总量*/
	@Excel(name="成交总量",width=15)
	private java.math.BigDecimal deal;
	/**日期*/
	@Excel(name="日期",width=15,format = "yyyy-MM-dd")
	private java.util.Date createTime;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")

	@Column(name ="ID",nullable=false,length=36)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  发运总量
	 */

	@Column(name ="SHIPPED",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getShipped(){
		return this.shipped;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  发运总量
	 */
	public void setShipped(java.math.BigDecimal shipped){
		this.shipped = shipped;
	}
	/**
	 *方法: 取得java.lang.Double
	 *@return: java.lang.Double  成交总量
	 */

	@Column(name ="DEAL",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getDeal(){
		return this.deal;
	}

	/**
	 *方法: 设置java.lang.Double
	 *@param: java.lang.Double  成交总量
	 */
	public void setDeal(java.math.BigDecimal deal){
		this.deal = deal;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  日期
	 */

	@Column(name ="CREATE_TIME",nullable=true,length=32)
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  日期
	 */
	public void setCreateTime(java.util.Date createTime){
		this.createTime = createTime;
	}
}
